//---------------------------------------------------------------------------

#ifndef personalH
#define personalH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "FIBDataSet.hpp"
#include "pFIBDataSet.hpp"
#include <DB.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <DBCtrls.hpp>
#include <ExtCtrls.hpp>
#include "FIBQuery.hpp"
#include "pFIBQuery.hpp"
#include <Buttons.hpp>
//---------------------------------------------------------------------------
class TFormPersonal : public TForm
{
__published:	// IDE-managed Components
        TpFIBDataSet *pFIBDataSetPersonal;
        TFIBBCDField *pFIBDataSetPersonalID;
        TFIBStringField *pFIBDataSetPersonalF;
        TFIBStringField *pFIBDataSetPersonalI;
        TFIBStringField *pFIBDataSetPersonalO;
        TFIBStringField *pFIBDataSetPersonalFIO;
        TFIBStringField *pFIBDataSetPersonalDRIVER_LIC;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_A;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_B;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_C;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_D;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_E;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_BE;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_CE;
        TFIBSmallIntField *pFIBDataSetPersonalDRIVER_CAT_DE;
        TDBGrid *DBGrid1;
        TDataSource *DataSource1;
        TpFIBDataSet *pFIBDataSetTypePersonal;
        TFIBBCDField *pFIBDataSetPersonalID_TYPE_PERSONAL;
        TStringField *pFIBDataSetPersonalname_type;
        TDBNavigator *DBNavigator1;
        TFIBBCDField *pFIBDataSetTypePersonalID;
        TFIBStringField *pFIBDataSetTypePersonalNAME_TYPE;
        TLabel *Label2;
        
        void __fastcall pFIBDataSetPersonalID_TYPE_PERSONALChange(
          TField *Sender);
        void __fastcall DBNavigator1BeforeAction(TObject *Sender,
          TNavigateBtn Button);
        void __fastcall FormActivate(TObject *Sender);
        void __fastcall pFIBDataSetPersonalAfterInsert(TDataSet *DataSet);
        void __fastcall DBGrid1DblClick(TObject *Sender);

private:	// User declarations
public:		// User declarations
        __fastcall TFormPersonal(TComponent* Owner);
        unsigned long id_personal;
};
//---------------------------------------------------------------------------
extern PACKAGE TFormPersonal *FormPersonal;
//---------------------------------------------------------------------------
#endif
